import hyRequest from "@/service";

export function getTopList() {
  return hyRequest.get({
    url: "/toplist"
  })
}

// 获取榜单详情
export async function getRankingList(id:number) {
  return await hyRequest.get({
    url: "/playlist/detail",
    params: {
      id
    }
  })
}